package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 濒危物种
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-08-04 07:50:09
 */
@TableName("binweiwuzhong")
public class BinweiwuzhongEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public BinweiwuzhongEntity() {
		
	}
	
	public BinweiwuzhongEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 物种名称
	 */
					
	private String wuzhongmingcheng;
	
	/**
	 * 物种分类
	 */
					
	private String wuzhongfenlei;
	
	/**
	 * 濒危等级
	 */
					
	private String binweidengji;
	
	/**
	 * 图片
	 */
					
	private String tupian;
	
	/**
	 * 视频
	 */
					
	private String shipin;
	
	/**
	 * 生活习性
	 */
					
	private String shenghuoxixing;
	
	/**
	 * 种群现状
	 */
					
	private String zhongqunxianzhuang;
	
	/**
	 * 价值
	 */
					
	private String jiazhi;
	
	/**
	 * 物种介绍
	 */
					
	private String wuzhongjieshao;
	
	/**
	 * 用户账号
	 */
					
	private String yonghuzhanghao;
	
	/**
	 * 用户姓名
	 */
					
	private String yonghuxingming;
	
	/**
	 * 最近点击时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date clicktime;
	
	/**
	 * 点击次数
	 */
					
	private Integer clicknum;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：物种名称
	 */
	public void setWuzhongmingcheng(String wuzhongmingcheng) {
		this.wuzhongmingcheng = wuzhongmingcheng;
	}
	/**
	 * 获取：物种名称
	 */
	public String getWuzhongmingcheng() {
		return wuzhongmingcheng;
	}
	/**
	 * 设置：物种分类
	 */
	public void setWuzhongfenlei(String wuzhongfenlei) {
		this.wuzhongfenlei = wuzhongfenlei;
	}
	/**
	 * 获取：物种分类
	 */
	public String getWuzhongfenlei() {
		return wuzhongfenlei;
	}
	/**
	 * 设置：濒危等级
	 */
	public void setBinweidengji(String binweidengji) {
		this.binweidengji = binweidengji;
	}
	/**
	 * 获取：濒危等级
	 */
	public String getBinweidengji() {
		return binweidengji;
	}
	/**
	 * 设置：图片
	 */
	public void setTupian(String tupian) {
		this.tupian = tupian;
	}
	/**
	 * 获取：图片
	 */
	public String getTupian() {
		return tupian;
	}
	/**
	 * 设置：视频
	 */
	public void setShipin(String shipin) {
		this.shipin = shipin;
	}
	/**
	 * 获取：视频
	 */
	public String getShipin() {
		return shipin;
	}
	/**
	 * 设置：生活习性
	 */
	public void setShenghuoxixing(String shenghuoxixing) {
		this.shenghuoxixing = shenghuoxixing;
	}
	/**
	 * 获取：生活习性
	 */
	public String getShenghuoxixing() {
		return shenghuoxixing;
	}
	/**
	 * 设置：种群现状
	 */
	public void setZhongqunxianzhuang(String zhongqunxianzhuang) {
		this.zhongqunxianzhuang = zhongqunxianzhuang;
	}
	/**
	 * 获取：种群现状
	 */
	public String getZhongqunxianzhuang() {
		return zhongqunxianzhuang;
	}
	/**
	 * 设置：价值
	 */
	public void setJiazhi(String jiazhi) {
		this.jiazhi = jiazhi;
	}
	/**
	 * 获取：价值
	 */
	public String getJiazhi() {
		return jiazhi;
	}
	/**
	 * 设置：物种介绍
	 */
	public void setWuzhongjieshao(String wuzhongjieshao) {
		this.wuzhongjieshao = wuzhongjieshao;
	}
	/**
	 * 获取：物种介绍
	 */
	public String getWuzhongjieshao() {
		return wuzhongjieshao;
	}
	/**
	 * 设置：用户账号
	 */
	public void setYonghuzhanghao(String yonghuzhanghao) {
		this.yonghuzhanghao = yonghuzhanghao;
	}
	/**
	 * 获取：用户账号
	 */
	public String getYonghuzhanghao() {
		return yonghuzhanghao;
	}
	/**
	 * 设置：用户姓名
	 */
	public void setYonghuxingming(String yonghuxingming) {
		this.yonghuxingming = yonghuxingming;
	}
	/**
	 * 获取：用户姓名
	 */
	public String getYonghuxingming() {
		return yonghuxingming;
	}
	/**
	 * 设置：最近点击时间
	 */
	public void setClicktime(Date clicktime) {
		this.clicktime = clicktime;
	}
	/**
	 * 获取：最近点击时间
	 */
	public Date getClicktime() {
		return clicktime;
	}
	/**
	 * 设置：点击次数
	 */
	public void setClicknum(Integer clicknum) {
		this.clicknum = clicknum;
	}
	/**
	 * 获取：点击次数
	 */
	public Integer getClicknum() {
		return clicknum;
	}

}
